github.com/gotd/td/mtproto.Conn.log (field)

50 uses

	github.com/gotd/td/mtproto (current package)
		ack.go#L13: 	logger := c.log.Named("ack")
		ack.go#L20: 			c.log.Error(ctx, "Failed to ACK", log.Error(err))
		bind.go#L104: 	c.log.Debug(ctx, "Binding temporary auth key",
		bind.go#L127: 	c.log.Info(ctx, "Temporary auth key bound",
		bind.go#L141: 		c.log.Warn(context.Background(), "auth.bindTempAuthKey returned ENCRYPTED_MESSAGE_INVALID for old permanent key, dropping persisted PFS keys and reconnecting",
		bind.go#L152: 			c.log.Warn(context.Background(), "auth.bindTempAuthKey returned ENCRYPTED_MESSAGE_INVALID for key with unknown age after retries, dropping persisted PFS keys and reconnecting",
		bind.go#L158: 		c.log.Warn(context.Background(), "auth.bindTempAuthKey returned ENCRYPTED_MESSAGE_INVALID for key with unknown age, retrying bind before dropping keys",
		bind.go#L166: 	c.log.Warn(context.Background(), "auth.bindTempAuthKey returned ENCRYPTED_MESSAGE_INVALID for fresh permanent key, retrying bind",
		bind.go#L176: 		c.log.Warn(context.Background(), "auth.bindTempAuthKey returned CONNECTION_NOT_INITED, retrying bind",
		bind.go#L182: 	c.log.Warn(context.Background(), "auth.bindTempAuthKey returned CONNECTION_NOT_INITED after retries, reconnecting without dropping keys",
		conn.go#L66: 	log          log.Helper
		conn.go#L138: 		log:          log.For(opt.Logger),
		conn.go#L193: 	c.log.Debug(ctx, "Closing")
		conn.go#L199: 		c.log.Debug(ctx, "Failed to cleanup connection", log.Error(err))
		conn.go#L219: 	c.log.Debug(ctx, "Run: start")
		conn.go#L220: 	defer c.log.Debug(ctx, "Run: end")
		conn.go#L226: 		g := tdsync.NewLogGroup(ctx, c.log.Named("group").Logger())
		connect.go#L53: 		c.log.Info(ctx, "Generating new auth key")
		connect.go#L59: 		c.log.Info(ctx, "Auth key generated",
		connect.go#L65: 	c.log.Info(ctx, "Key already exists")
		connect.go#L70: 		c.log.Debug(ctx, "Generating new session id")
		connect.go#L81: 		c.log.Info(ctx, "Generating new permanent auth key")
		connect.go#L86: 		c.log.Info(ctx, "Permanent auth key generated",
		connect.go#L91: 		c.log.Info(ctx, "Permanent key already exists")
		connect.go#L94: 	c.log.Info(ctx, "Generating new temporary auth key")
		connect.go#L99: 	c.log.Info(ctx, "Temporary auth key generated",
		connect.go#L113: 		WithLogger(c.log.Named("exchange").Logger()).
		connect.go#L124: 	if !c.log.Enabled(ctx, log.LevelDebug) {
		connect.go#L134: 	c.log.Debug(ctx, "Initializing new key exchange", attrs...)
		handle_ack.go#L19: 	c.log.Debug(context.Background(), "Received ack", log.Any("msg_ids", ack.MsgIDs))
		handle_future_salts.go#L24: 	c.log.Debug(context.Background(), "Got future salts", log.Time("server_time", serverTime))
		handle_result.go#L56: 		c.log.Debug(ctx, "Got error", msgID,
		handle_session_created.go#L24: 	c.log.Debug(ctx, "Session created",
		handle_session_created.go#L31: 		c.log.Warn(ctx, "Local clock needs synchronization",
		new_encrypted_msg.go#L23: 		logger = c.log
		pfs.go#L50: 		c.log.Info(ctx, "Temporary auth key renewal required, reconnecting",
		ping.go#L43: 	c.log.Debug(context.Background(), "Pong")
		read.go#L76: 		c.log.Warn(ctx, "Ignoring rejected message", log.Error(err))
		read.go#L86: 		c.log.Warn(ctx, "Error while handling message", log.Error(err))
		read.go#L108: 		c.log.Debug(context.Background(), "No updates")
		read.go#L121: 		c.log.Warn(ctx, "BUG: zero session id found")
		read.go#L128: 	c.log.Warn(ctx, "Re-generating keys (server not found key that we provided)")
		read.go#L132: 	c.log.Info(ctx, "Re-created auth keys")
		read.go#L139: 	logger := c.log.Named("read")
		rpc.go#L26: 	logger := c.log.With(
		rpc.go#L36: 			c.log.Debug(ctx, "Setting server salt")
		rpc.go#L41: 			c.log.Info(ctx, "Retrying request after basMsgErr", log.Int64("msg_id", req.MsgID))
		salt.go#L21: 		c.log.Info(context.Background(), "Salt updated", log.Int64("old", oldSalt), log.Int64("new", salt))
		zap.go#L33: 		return c.log
		zap.go#L40: 	return c.log.With(logType{